//
//  BCPaidListingViewController.m
//  BangcaiBuy
//
//  Created by lsy on 16/6/13.
//  Copyright © 2016年 BCB. All rights reserved.
//

#import "BCPaidListingViewController.h"
#import "BCPaidDetailViewController.h"
#import "BCOrderDetailViewController.h"

@interface BCPaidListingViewController ()<shopCarDelegate>

@end

@implementation BCPaidListingViewController
- (void)getValue
{
    
}

- (void)getView
{
    self.title = @"竞价结果";
    self.orderResultView = [[BCOrderResultView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT - 114)];
    [self.view addSubview:self.orderResultView];
    __block BCPaidListingViewController *blockSelf = self;
    self.orderResultView.Push = ^( ){
        BCPaidDetailViewController *detailVC = [[BCPaidDetailViewController alloc] init];
        [blockSelf.navigationController pushViewController:detailVC animated:YES];
    };
    
    
}


- (void)viewWillAppear:(BOOL)animated
{
    [[BCShopCarManager sharedInstance] showShopWindow];
    [BCShopCarManager sharedInstance].butTitle = @"去结算";

    [BCShopCarManager sharedInstance].delegate = self;
}

- (void)goTo
{
    BCOrderDetailViewController *orderDetail = [[BCOrderDetailViewController alloc] init];
    [self.navigationController pushViewController:orderDetail animated:YES];
}

@end
